package com.mlt.back.service;

import com.mlt.back.beans.Manager;
import com.mlt.back.exceptions.NotFindException;
import com.mlt.back.exceptions.WrongValueException;

import java.util.List;

public interface ManagerService {
    Manager doLogin(String login_name, String login_pwd) throws NotFindException, WrongValueException;

    int addManager(Manager manager, String role_id);

    String doCheck(String name, String value);

    List<Manager> selectByRole(String role_id, int page);

    void del(int mgr_id);

    Manager selectById(String mgr_id);

    void update(Manager manager, String role_id);
}
